<?php
declare(strict_types=1);

namespace App\Resource\LotteryCrystal\Level;


use Illuminate\Http\Resources\Json\JsonResource;

class Resource extends JsonResource
{
    public function toArray($request)
    {
        return [
            "level" => $this->level,
            "exp" => $this->exp,
            "name" => $this->name,
            "icon" => $this->icon,
            "crit" => $this->crit_multiple,
        ];
    }
}